projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c09227
)
(ccl_coding_driver): On encoding, coding->produced_char
author
Kenichi Handa
<handa@m17n.org>
Mon, 8 Feb 1999 11:06:56 +0000
(11:06 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 8 Feb 1999 11:06:56 +0000
(11:06 +0000)
should be set to coding->produced.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 298b3707686fdc1b2f574060d7667d908cc17ab6..2a2ad2136aa16a2675e063691b2de6d27710f673 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-3664,7
+3664,9
@@
ccl_coding_driver (coding, source, destination, src_bytes, dst_bytes, encodep)
coding->produced = ccl_driver (ccl, source, destination,
src_bytes, dst_bytes, &(coding->consumed));
coding->produced_char
- = multibyte_chars_in_text (destination, coding->produced);
+ = (encodep
+ ? coding->produced
+ : multibyte_chars_in_text (destination, coding->produced));
coding->consumed_char
= multibyte_chars_in_text (source, coding->consumed);